from django.conf.urls import url
from . import views

urlpatterns = [

    #url(r'^index/$', views.IndexView.as_view(), name='register'),
    url(r'^$',views.MainView.as_view(),name='main'),
    url(r'^map/$',views.MapView.as_view(),name='map'),
    url(r'^all/$',views.all.as_view(),name='all'),
    url(r'^province/$',views.province.as_view(),name='province'),
    url(r'^china/$',views.testmap.as_view()),
    url(r'^history/$',views.history.as_view()),
    url(r'^area/(?P<pname>[0-9]{1,3})/$',views.area.as_view()),
    url(r'^area/(?P<pname>[0-9]{1,3})/geti/$',views.geti.as_view()),
    url(r'',views.gt404.as_view()),
    #url(r'^index/$',views.SchoolsView.as_view(),name='school'),

]